package cn.littlehx.myweb.service;
import cn.littlehx.myweb.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IUserService extends IService<User> {
    /**
     * 按照邮箱进行查询
     * @param email
     * @return
     */
    User selectByEmail(String email);

    /**
     * 按照邮箱和密码进行查询
     * @param email
     * @param password
     * @return
     */
    User selectByEmailAndPassword(String email, String password);
}
